from django.conf.urls.defaults import *
# from django.views.generic.simple import direct_to_template
# from django.contrib.auth.views import login, logout
# from views import activate, register

urlpatterns = patterns('',
                       (r'^admin/', include('django.contrib.admin.urls')),
#                        (r'^accounts/confirm/(?P<activation_key>\w+)/$', 'freedel.conspire.views.activate'),
                       (r'^$', 'freedel.conspire.views.index'),
                       (r'^feedback/$', 'freedel.conspire.views.feedback'),
                       (r'^register/$', 'freedel.conspire.views.register'),
                       (r'^submit/$', 'freedel.conspire.views.submit_talk'),
                       (r'^login/$', 'freedel.conspire.views.my_login'),
                       (r'^logout/$', 'freedel.conspire.views.my_logout'),
                       (r'^talks/$', 'freedel.conspire.views.talks'),
                       (r'^talks/(?P<talk_id>\d+)/$', 'freedel.conspire.views.talk'),
                       (r'^speakers/$', 'freedel.conspire.views.speakers'),
                       (r'^simple/post_registration/$', 'freedel.conspire.views.post_registration'),
                       )
